<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.RDF0Parser.RDF0Parser</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.RDF0Parser-module.html">Module&nbsp;RDF0Parser</a> ::
        Class&nbsp;RDF0Parser
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.RDF0Parser.RDF0Parser-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class RDF0Parser</h1><p class="nomargin-top"><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_spade_rd_2" name="uml_class_diagram_for_spade_rd_2">
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#__init__" title="spade.RDF0Parser.RDF0Parser.__init__" alt="" coords="17,247,296,265"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encodeTag" title="spade.RDF0Parser.RDF0Parser.encodeTag" alt="" coords="17,265,296,284"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encodeInitTag" title="spade.RDF0Parser.RDF0Parser.encodeInitTag" alt="" coords="17,284,296,303"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encodeEndTag" title="spade.RDF0Parser.RDF0Parser.encodeEndTag" alt="" coords="17,303,296,321"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encodeInitTagAttr" title="spade.RDF0Parser.RDF0Parser.encodeInitTagAttr" alt="" coords="17,321,296,340"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encodeOneLineTag" title="spade.RDF0Parser.RDF0Parser.encodeOneLineTag" alt="" coords="17,340,296,359"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#encode" title="Content Encoding" alt="" coords="17,359,296,377"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#startDocument" title="Receive notification of the beginning of a document." alt="" coords="17,377,296,396"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#startPrefixMapping" title="Begin the scope of a prefix&#45;URI Namespace mapping." alt="" coords="17,396,296,415"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#startElementNS" title="Signals the start of an element in namespace mode." alt="" coords="17,415,296,433"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#endElementNS" title="Signals the end of an element in namespace mode." alt="" coords="17,433,296,452"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#characters" title="Receive notification of character data." alt="" coords="17,452,296,471"/>
<area shape="rect" id="node1229" href="spade.RDF0Parser.RDF0Parser-class.html#parse" title="spade.RDF0Parser.RDF0Parser.parse" alt="" coords="17,471,296,489"/>
<area shape="rect" id="node1" href="spade.RDF0Parser.RDF0Parser-class.html" title="FIPA RDF Content Language Parser" alt="" coords="5,214,307,495"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Called by the parser to give the application a locator for locating the &#160;origin of document events." alt="" coords="40,39,275,57"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Receive notification of the end of a document." alt="" coords="40,57,275,76"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="End the scope of a prefix&#45;URI mapping." alt="" coords="40,76,275,95"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Signals the start of an element in non&#45;namespace mode." alt="" coords="40,95,275,113"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Signals the end of an element in non&#45;namespace mode." alt="" coords="40,113,275,132"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Receive notification of ignorable whitespace in element content." alt="" coords="40,132,275,151"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Receive notification of a processing instruction." alt="" coords="40,151,275,169"/>
<area shape="rect" id="node1230" href="javascript:void(0);" title="Receive notification of a skipped entity." alt="" coords="40,169,275,188"/>
<area shape="rect" id="node2" href="javascript:void(0);" title="Interface for receiving logical document content events." alt="" coords="28,6,287,194"/>
</map>
  <img src="uml_class_diagram_for_spade_rd_2.gif" alt='' usemap="#uml_class_diagram_for_spade_rd_2" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>FIPA RDF Content Language Parser</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encodeTag"></a><span class="summary-sig-name">encodeTag</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag</span>,
        <span class="summary-sig-arg">content</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encodeTag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encodeInitTag"></a><span class="summary-sig-name">encodeInitTag</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encodeInitTag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encodeEndTag"></a><span class="summary-sig-name">encodeEndTag</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encodeEndTag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encodeInitTagAttr"></a><span class="summary-sig-name">encodeInitTagAttr</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag</span>,
        <span class="summary-sig-arg">attr</span>,
        <span class="summary-sig-arg">value</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encodeInitTagAttr">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encodeOneLineTag"></a><span class="summary-sig-name">encodeOneLineTag</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag1</span>,
        <span class="summary-sig-arg">tag2</span>,
        <span class="summary-sig-arg">value</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encodeOneLineTag">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="encode"></a><span class="summary-sig-name">encode</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">content</span>)</span><br />
      Content Encoding</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.encode">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#startDocument" class="summary-sig-name">startDocument</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Receive notification of the beginning of a document.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startDocument">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#startPrefixMapping" class="summary-sig-name">startPrefixMapping</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">prefix</span>,
        <span class="summary-sig-arg">uri</span>)</span><br />
      Begin the scope of a prefix-URI Namespace mapping.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startPrefixMapping">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#startElementNS" class="summary-sig-name">startElementNS</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">qname</span>,
        <span class="summary-sig-arg">attributes</span>)</span><br />
      Signals the start of an element in namespace mode.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startElementNS">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#endElementNS" class="summary-sig-name">endElementNS</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">qname</span>)</span><br />
      Signals the end of an element in namespace mode.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.endElementNS">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.RDF0Parser.RDF0Parser-class.html#characters" class="summary-sig-name">characters</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">buff</span>)</span><br />
      Receive notification of character data.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.characters">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="parse"></a><span class="summary-sig-name">parse</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">s</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.parse">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>xml.sax.handler.ContentHandler</code></b>:
      <code>endDocument</code>,
      <code>endElement</code>,
      <code>endPrefixMapping</code>,
      <code>ignorableWhitespace</code>,
      <code>processingInstruction</code>,
      <code>setDocumentLocator</code>,
      <code>skippedEntity</code>,
      <code>startElement</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="startDocument"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">startDocument</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startDocument">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Receive notification of the beginning of a document.</p>
  <p>The SAX parser will invoke this method only once, before any other 
  methods in this interface or in DTDHandler (except for 
  setDocumentLocator).</p>
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.startDocument
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="startPrefixMapping"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">startPrefixMapping</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">prefix</span>,
        <span class="sig-arg">uri</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startPrefixMapping">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Begin the scope of a prefix-URI Namespace mapping.</p>
  <p>The information from this event is not necessary for normal Namespace 
  processing: the SAX XML reader will automatically replace prefixes for 
  element and attribute names when the 
  http://xml.org/sax/features/namespaces feature is true (the default).</p>
  <p>There are cases, however, when applications need to use prefixes in 
  character data or in attribute values, where they cannot safely be 
  expanded automatically; the start/endPrefixMapping event supplies the 
  information to the application to expand prefixes in those contexts 
  itself, if necessary.</p>
  <p>Note that start/endPrefixMapping events are not guaranteed to be 
  properly nested relative to each-other: all startPrefixMapping events 
  will occur before the corresponding startElement event, and all 
  endPrefixMapping events will occur after the corresponding endElement 
  event, but their order is not guaranteed.</p>
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.startPrefixMapping
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="startElementNS"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">startElementNS</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">qname</span>,
        <span class="sig-arg">attributes</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.startElementNS">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Signals the start of an element in namespace mode.</p>
  <p>The name parameter contains the name of the element type as a (uri, 
  localname) tuple, the qname parameter the raw XML 1.0 name used in the 
  source document, and the attrs parameter holds an instance of the 
  Attributes class containing the attributes of the element.</p>
  <p>The uri part of the name tuple is None for elements which have no 
  namespace.</p>
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.startElementNS
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="endElementNS"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">endElementNS</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">qname</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.endElementNS">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Signals the end of an element in namespace mode.</p>
  <p>The name parameter contains the name of the element type, just as with
  the startElementNS event.</p>
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.endElementNS
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="characters"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">characters</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">buff</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.RDF0Parser-pysrc.html#RDF0Parser.characters">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Receive notification of character data.</p>
  <p>The Parser will call this method to report each chunk of character 
  data. SAX parsers may return all contiguous character data in a single 
  chunk, or they may split it into several chunks; however, all of the 
  characters in any single event must come from the same external entity so
  that the Locator provides useful information.</p>
  <dl class="fields">
    <dt>Overrides:
        xml.sax.handler.ContentHandler.characters
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug  1 18:44:42 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
